<?php
   
 class cCliente extends ControllerBase{
	
	protected $defaultaction= "index";
	protected $template = "admin/index.html";
	
	public function indexAction(){
		global $smarty;
		$smarty->assign("content","admin/cliente/_list.html");				
	} 
	
	
	public function autocompleteclientesAjax(){
		$cliente = $_REQUEST['term'];
		$clientes= Cliente::searchclientes($cliente);
		
		return $clientes;
		
	}
	
	
	
	
}

?>